﻿using System;
using KingsSharp.Core.Data;

namespace CRM.Admin.Contracts.Dto.Sys
{
    public class DictionaryTypeDto : IAddDto, IEditDto<Guid>
    {
        /// <summary>
        /// 字典类别主键ID
        /// </summary>
        public Guid Id { get; set; }

        /// <summary>
        /// 字典类别
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 类别排序
        /// </summary>
        public int Order { get; set; }

        /// <summary>
        /// 类别描述
        /// </summary>
        public string Description { get; set; }


        /// <summary>
        /// 类别编码
        /// </summary>
        public string Code { get; set; }


        /// <summary>
        /// 父ID
        /// </summary>
        public Guid? Pid { get; set; }

        /// <summary>
        /// 父类别名称
        /// </summary>
        public string PName { get; set; }
    }
}
